﻿using DH.Core.MapperHelper;
using DH.Core.UI.ViewModel;
using DH.Entity;
using System;
using System.Collections.Generic;
using System.Text;

namespace DH.Service.ViewModels
{
    [MapToType(typeof(RoleEntity))]
    public class RoleViewModel: EntityModelBase
    {
        public string Name { get; set; }
        public bool Status { get; set; }
        public int Type { get; set; }

        /// <summary>
        /// 角色范围Id
        /// 允许多个
        /// </summary>
        public string RoleRange { get; set; }

        /// <summary>
        /// 角色范围名称
        /// </summary>
        public string RoleRangeName { get; set; }

        //public DateTimeOffset CreatedOn { get; set; }
        //public string CreatedBy { get; set; }


        //public DateTimeOffset UpdatedOn { get; set; }
        //public string UpdatedBy { get; set; }

        //public DateTimeOffset? DeletedOn { get; set; }
        //public string DeletedBy { get; set; }

    }
}
